import java.util.Scanner;

public class Test {
        public static void main(String[] args) {
            Scanner scanner = new Scanner(System.in);
            while (scanner.hasNextInt()) {
                int x = scanner.nextInt();
                int y = scanner.nextInt();
                Data data = new Data(x, y);
                System.out.println(data.getX() + data.getY());
            }
        }
}

class Data {
    public int x;
    public int y;

    public Data(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public int getY() {
        return y;
    }

}


    /*public static void main(String[] args){

        String s;//局部变量要初始化

        System.out.println("s="+s);

    }
*/
    /*public static void main(String[] args) {
        Test2 test=null;
        test.hello();
    }*/

//方法的外面，类里面//判断成员变量和局部变量
//public修饰方法
/*class Test2 {
    public static void hello() {
        System.out.println("hello");
    }
}*/

